package rauguelu.programaEventos;

import rauguelu.feria.tapas.tapasVinos;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;

public class Portada extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.portada);

		ImageView logo_sentidos = (ImageView) findViewById(R.id.logo_sentidos);
	//	TextView txtInfo = (TextView) findViewById(R.id.txtInfo);
		TextView verVideo = (TextView) findViewById(R.id.verVideo);
		TextView dsCabeceraPortada = (TextView) findViewById(R.id.dsCabeceraPortada);
		
		Typeface font = Typeface.createFromAsset(getAssets(), "VSVBPSB.TTF");
		dsCabeceraPortada.setTypeface(font);
		
//		txtInfo.setOnClickListener(new OnClickListener() {
//			
//			@Override
//			public void onClick(View v) {
//				Intent myIntent = new Intent(Portada.this,	infoFestival.class);
//				startActivityForResult(myIntent, 0);
//				
//			}
//		});
		
		logo_sentidos.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent myIntent = new Intent(Portada.this,	infoFestival.class);
				startActivityForResult(myIntent, 0);
				
			}
		});
		
		verVideo.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent myIntent = new Intent(Portada.this,	videoFestival.class);
				startActivityForResult(myIntent, 0);
			}
		});
		
	//	Typeface font = Typeface.createFromAsset(getAssets(), "VSVBPSB.TTF");
	//	txtInfo.setTypeface(font);
		verVideo.setTypeface(font);
		
	}
		
	/*	public void onVideo(View view) {
			Intent myIntent = new Intent(view.getContext(),	tapasVinos.class);
			startActivityForResult(myIntent, 0);
		}
		
		public void onInfoFest(View view) {
			Intent myIntent = new Intent(view.getContext(),	infoFestival.class);
			startActivityForResult(myIntent, 0);
		}*/
		

	
}